﻿using MediatR;
using SmartCity.ProcessEngine.Api.Write.Dtos;
using SmartCity.ProcessEngine.ErrorCode;

namespace SmartCity.ProcessEngine.Api.Write.Application.Command.FormNodeConfig
{
    /// <summary>
    /// 创建流程节点配置请求命令
    /// </summary>
    public class CreateFormNodeCfgCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 所属FormId
        /// </summary>
        public long FormId {  get; set; }

        /// <summary>
        /// 流程的节点集合
        /// </summary>
        public List<CreateNodeCfgDto> createNodeCfgDtos { get; set; }
    }
}
